CosmosDB PITR restorable resources dotnet sdk#17595
CosmosDB PITR restorable resources dotnet sdk#17595nisha-bhatia merged 3 commits intoAzure:masterfrom
Conversation
vinhms
commented
Dec 16, 2020
|
@kavskalyan @MehaKaushik please review this PR |
| /// <summary> | ||
| /// Properties to create and update Azure Cosmos DB database accounts. | ||
| /// </summary> | ||
| [Newtonsoft.Json.JsonObject("DatabaseAccountCreateUpdateProperties")] |
There was a problem hiding this comment.
I wonder why this got removed. It may have to do with the autorest version used to generate the package.
There was a problem hiding this comment.
What was the command you used to generate the package ?
There was a problem hiding this comment.
Please note this is not a blocking comment if you cant find the reason to this change,, feel free to ignore it.
There was a problem hiding this comment.
i'm not sure what that got removed..
this is the autorest command that i used:
autorest.cmd "C:\code\swagger\azure-rest-api-specs\specification\cosmos-db\resource-manager\readme.md" --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\code\sdk\azure-sdk-for-net\sdk
| /// <param name="type">The type of Azure resource.</param> | ||
| /// <param name="location">The location of the resource group to which | ||
| /// the resource belongs.</param> | ||
| public RestorableMongodbDatabaseGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableMongodbDatabasePropertiesResource resource = default(RestorableMongodbDatabasePropertiesResource)) |
There was a problem hiding this comment.
@vinhms can you please check if this is true? i.e. at our service side do we have each of location, tags and ManagedServiceIdentity for RestorableMongodbDatabaseGetResult.
If not, then we should fix this in swagger.
MehaKaushik
left a comment
There was a problem hiding this comment.
Left some minor comments, looks good otherwise.
|
@vinhms Could you please provide Swagger link? |
@nisha-bhatia here's the swagger: Azure/azure-rest-api-specs#11428 |
* add restorable tests * bump version * change version to 1.4.0